{% extends "tj3/tj3.html" %}


{% block content  %} 
<form action="." method="post" enctype="multipart/form-data">
{{ select_project }}
<input type="submit" name="command" value="Select" class="button" />
</form>

{% if project %}
<h2>Journals</h2>
<!--- bookings, journals --->
{% for booking, j_list in journals.items %}
<ul>
supplement task {{booking.task.full_path}} {<br>
<ul>	
	actual: <font color=blue>booking</font> {{booking.resource}} {{booking.when}}-{{booking.part_of_day}}
	+ {{booking.length}}
	{% if booking.overtime %}
		{ overtime {{booking.overtime}} }
	{% endif %}
	<p>
	
	{% for j in j_list %}
	<ul>
	journalentry {{booking.when}} "{{j.summary}}" {<br>
		<font color=blue>alert</font> {{j.alert}}<br>
		<font color=blue>summary</font> "{{j.summary}}"<br>
		<font color=blue>details</font> -8<-<br>
		Descriptions:<br>
			{{j.description}}
		<p><p>
		Memo:<br>
			{{j.memo}}
		<br>->8-
	}
	</ul>
	{% endfor %}
</ul>
}
</ul>
{% endfor %}

<!--- timeoffs --->
<h2>Timeoffs</h2>
<ul>
{% for t in timeoffs %}
		supplement resource {{t.resource}} {<br>
			<!--- vacation should include start & end --->
			vacation {{t.start}}-09:00 - {{t.end}}-18:00<br>
		}<p>
{% endfor %}
</ul>
{% endif %}

 {% endblock content %}
